<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

		<footer class="row tm-mt-small">
			<div class="col-12 font-weight-light">
				<p class="d-inline-block tm-bg-black text-white py-2 px-4">
					Copyright &copy; 2020  Created by 陈岩
				</p>
			</div>
		</footer>
	</div>
</div>
<script src="${rootPath}/common/resource/js/jquery-3.3.1.min.js"></script>
<!-- https://jquery.com/download/ -->
<script src="${rootPath}/common/resource/js/moment.min.js"></script>
<!-- https://momentjs.com/ -->
<script src="${rootPath}/common/resource/js/utils.js"></script>
<script src="${rootPath}/common/resource/js/Chart.min.js"></script>
<!-- http://www.chartjs.org/docs/latest/ -->
<script src="${rootPath}/common/resource/js/fullcalendar.min.js"></script>
<!-- https://fullcalendar.io/ -->
<script src="${rootPath}/common/resource/js/bootstrap.min.js"></script>
<!-- https://getbootstrap.com/ -->
<script src="${rootPath}/common/resource/js/tooplate-scripts.js"></script>
<!-- 开发人员的js -->
<script type="text/javascript" src="${rootPath}/common/resource/util.js"></script>
<script>
	let ctxLine, ctxBar, ctxPie, optionsLine, optionsBar, optionsPie, configLine, configBar, configPie, lineChart;
	barChart, pieChart;
	// DOM is ready
	$(function() {
		updateChartOptions();
		drawLineChart(); // Line Chart
		drawBarChart(); // Bar Chart
		drawPieChart(); // Pie Chart
		drawCalendar(); // Calendar

		$(window).resize(function() {
			updateChartOptions();
			updateLineChart();
			updateBarChart();
			reloadPage();
		});
	})
</script>